package com.yyz.cms.helper;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class AjaxObject implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -6830377305741993724L;
	private boolean success;
	private Map<String,Object> map;	
	
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}

	public Map<String, Object> getMap() {
		return map;
	}
	public void setMap(Map<String, Object> map) {
		this.map = map;
	}
	public AjaxObject() {
		this(true,new HashMap<String, Object>());
	}
	public AjaxObject(boolean success, Map<String, Object> map) {
		this.success = success;
		this.map = map;
	}
	
}
